load("//tools:defaults.bzl", "jasmine_test", "ts_project")

ts_project(
    name = "test_lib",
    testonly = True,
    srcs = ["missing_control_flow_directive_spec.ts"],
    deps = [
        "//:node_modules/typescript",
        "//packages/compiler",
        "//packages/compiler-cli/src/ngtsc/core:api",
        "//packages/compiler-cli/src/ngtsc/diagnostics",
        "//packages/compiler-cli/src/ngtsc/file_system",
        "//packages/compiler-cli/src/ngtsc/file_system/testing",
        "//packages/compiler-cli/src/ngtsc/testing",
        "//packages/compiler-cli/src/ngtsc/typecheck/extended",
        "//packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive",
        "//packages/compiler-cli/src/ngtsc/typecheck/testing",
    ],
)

jasmine_test(
    name = "test",
    data = [
        ":test_lib",
        "//packages/core:npm_package",
    ],
)
